<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table>
		<tr>
			<th>编号</th>
			<th>姓名</th>
			<th>年龄</th>
			<th>操作</th>
		</tr>
		<c:forEach items="${students}" var="student">
			<tr>
				<td>${student.id}</td>
				<td><a href="${student.name}">${student.name}</a></td>
				<td>${student.age}</td>
				<td><a href="http://localhost:8080/springmv/get.do?id=${student.id}">修改</a>
				<a href="http://localhost:8080/springmv/delete.do?id=${student.id}">删除</a></td>
			</tr>
		</c:forEach>
		
		<a href="http://localhost:8080/springmv/toAdd.do">添加</a>
	

	</table>



</body>
</html>